package com.lkj.controller;

import com.lkj.annotation.Autowired;
import com.lkj.annotation.Controller;
import com.lkj.annotation.RequestMapping;
import com.lkj.service.UserService;
import com.lkj.service.impl.UserServiceImpl;

@Controller
@RequestMapping("/user")
public class UserController {

    @Autowired
    private UserService userService;

    @RequestMapping("/getUserByUserName")
    public String getUserByUserName(String userName){

        String user = userService.getUserByUserName(userName);

        return user;
    }



}
